<?php

use Illuminate\Database\Migrations\Migration;

class CreateChitietnhomquyenhanTable extends Migration
{
    /**
    * Run the migrations.
    *
    * @return void
    */
    public function up()
    {
        Schema::create('chi_tiet_nhom_quyen_han', function($table)
        {
            $table->engine='InnoDB';
            $table->increments('id')->unsigned();
            $table->integer('id_nhom_quyen')->unsigned();
            $table->text('id_tac_vu_ht',50);
            $table->text('nhom');
        });
    }

    /**
    * reverse the migrations.
    *
    * @return void
    */
    public function down()
    {
        Schema::drop('chi_tiet_nhom_quyen_han');
    }
}